﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace iReaper.IndexService.Common
{
    [Serializable]
    public class EventItem
    {
        [XmlElement]
        public float? Ratio
        {
            get;
            set;
        }

        [XmlElement]
        public string TargetAudience
        {
            get;
            set;
        }

        [XmlElement]
        public Guid EventTypeId
        {
            get;
            set;
        }

        [XmlElement]
        public string RegistrationId
        {
            get;
            set;
        }

        [XmlElement]
        public string Language
        {
            get;
            set;
        }

        [XmlElement]
        public string EventID
        {
            get;
            set;
        }

        [XmlElement]
        public DateTime StartData
        {
            get;
            set;
        }

        [XmlElement]
        public string StartDataString
        {
            get;
            set;
        }

        [XmlElement]
        public string DownloadUrl
        {
            get;
            set;
        }

        [XmlElement]
        public string QuickActionUrl
        {
            get;
            set;
        }

        [XmlElement]
        public int QuickActionId
        {
            get;
            set;
        }

        [XmlElement]
        public string Description
        {
            get;
            set;
        }

        [XmlElement]
        public string DetailUrl
        {
            get;
            set;
        }

        [XmlElement]
        public string Title
        {
            get;
            set;
        }
    }
}
